home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmAddProtocolCallback.z
/
XmAddProtocolCallback
Wrap
Text File
|
1998-10-20
|
6KB
|
133 lines
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk - A VendorShell function that adds
client callbacks for a protocol
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////PPPPrrrroooottttooooccccoooollllssss....hhhh>>>>
vvvvooooiiiidddd XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk ((((_s_h_e_l_l, _p_r_o_p_e_r_t_y, _p_r_o_t_o_c_o_l, _c_a_l_l_b_a_c_k, _c_l_o_s_u_r_e))))
WWWWiiiiddddggggeeeetttt _s_h_e_l_l;;;;
AAAAttttoooommmm _p_r_o_p_e_r_t_y;;;;
AAAAttttoooommmm _p_r_o_t_o_c_o_l;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc_c_a_l_l_b_a_c_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _c_l_o_s_u_r_e;;;;
vvvvooooiiiidddd XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk ((((_s_h_e_l_l, _p_r_o_t_o_c_o_l, _c_a_l_l_b_a_c_k, _c_l_o_s_u_r_e))))
WWWWiiiiddddggggeeeetttt _s_h_e_l_l;;;;
AAAAttttoooommmm _p_r_o_t_o_c_o_l;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc_c_a_l_l_b_a_c_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _c_l_o_s_u_r_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk adds client callbacks for a protocol.
It checks if the protocol is registered, and if it is not,
calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss. It then adds the callback to the
internal list. These callbacks are called when the
corresponding client message is received.
XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk is a convenience interface. It
calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk with the property value set to
the atom returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
_s_h_e_l_l Specifies the widget with which the protocol property
is associated.
_p_r_o_p_e_r_t_y
Specifies the protocol property.
_p_r_o_t_o_c_o_l
Specifies the protocol AAAAttttoooommmm (or an iiiinnnntttt type cast to
AAAAttttoooommmm).
_c_a_l_l_b_a_c_k
Specifies the procedure to call when a protocol
message is received.
_c_l_o_s_u_r_eSpecifies the client data to be passed to the
Page 1 (printed 4/30/98)
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
callback when it is invoked.
For a complete definition of VendorShell and its associated
resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))), XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss((((3333XXXX)))),
XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))), and XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm((((3333XXXX)))).
Page 2 (printed 4/30/98)